/**
 * @brief 管道模块实现
 * @version 1.0
 * @author 宋炜
 * @date 2023-8-28
 */

#pragma once

class pipe : public dataCh
{
private:
	std::atomic< int >     m_fd__;
public:
	pipe();
	pipe( const std::string& name , bool in = true );
	
	virtual void onReadyRead( const char * data = nullptr , size_t len )  final;
	virtual nativeH_t native_handle() final;
};
